Using Objects for Structuring Multiparadigm Programming Environments
نویسندگان
چکیده
Multiparadigm programming allows the programmer to write the implementation of a system in a number of different paradigms. We describe our approach to multiparadigm programming based on modeling programming paradigms as object classes. In particular, objects can be used to encapsulate program modules, and classes to encapsulate their respective paradigms. The paradigm class hierarchy can then be used to abstract common paradigm characteristics and the call-gate, a local inter-operation abstraction can be used to flatten the class hierarchy into a collection of paradigms. We use this object-oriented structuring mechanism to provide the base for designing multiparadigm environment generators. In order to demonstrate our approach we develop MPSS, a multiparadigm environment generator, use it to implement blueprint, a six paradigm programming environment, and use all its paradigms in a numerical and symbolic integration package.
منابع مشابه
Programming Paradigms as Object Classes: A Structuring Mechanism for Multiparadigm Programming
The word paradigm, is used in computer science to talk about a family of notations, that share a common way for describing program implementations. Since each paradigm is well suited for solving only a range of problems, ideally a large system should be subdivided into components, each of which should be implemented in the most appropriate paradigm. Multiparadigm programming, allows the program...
متن کاملI+: A Multiparadigm Language for Object-Oriented Declarative Programming
This paper presents a multiparadigm language I+ which is an integration of the three major programming paradigms: object-oriented, logic and functional. I+ has an object-oriented framework in which the notions of classes, objects, methods, inheritance and message passing are supported. Methods may be specified as clauses or functions, thus the two declarative paradigms are incorporated at the m...
متن کاملMultiparadigm Extensions to Java
In 1995 my students and I developed Leda, a multiparadigm language based on the Pascal model. Leda allowed programmers to create abstractions in an object-oriented, functional, or logic programming style. More recently we have been interested in recreating this work, but this time using Java as the language basis. The objective to to add as few new operations as possible, and to make these oper...
متن کاملRepresenting programs in multiparadigm software development environments
In this paper, we describe a canonical program representation, Semantic Program Graphs (SPGs), and we show how SPGs can act as the foundation for multiparadigm software develop ment environments. Using SPGs as the basis for program representation allows developers to see different views of programs that correspond to different ways of thinking about them, and it allows editors to be created so ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995